package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.entity.Category;
import com.itheima.reggie.entity.Employee;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface CategoryService extends IService<Category> {
 R<String> get(@RequestBody Category category);

 Page page(Integer page, Integer pageSize);

 R<String> delete( Long id);
  R<String> upDate(Category category);
  R<List<Category>> list(Category category);
}
